#    define MEXIF_TAGID_PENTAX1_PentaxVersion       0x0000
#    define MEXIF_TAGID_PENTAX1_PentaxModelType     0x0001
#    define MEXIF_TAGID_PENTAX1_PreviewImageSize    0x0002
#    define MEXIF_TAGID_PENTAX1_PreviewImageLength  0x0003
#    define MEXIF_TAGID_PENTAX1_PreviewImageStart   0x0004
#    define MEXIF_TAGID_PENTAX1_PentaxModelID       0x0005
#    define MEXIF_TAGID_PENTAX1_Date                0x0006
#    define MEXIF_TAGID_PENTAX1_Time                0x0007
#    define MEXIF_TAGID_PENTAX1_Quality             0x0008
#    define MEXIF_TAGID_PENTAX1_PentaxImageSize     0x0009
#    define MEXIF_TAGID_PENTAX1_PictureMode         0x000b
#    define MEXIF_TAGID_PENTAX1_FlashMode           0x000c
#    define MEXIF_TAGID_PENTAX1_FocusMode           0x000d
#    define MEXIF_TAGID_PENTAX1_AFPointSelected     0x000e
#    define MEXIF_TAGID_PENTAX1_AFPointsInFocus     0x000f
#    define MEXIF_TAGID_PENTAX1_FocusPosition       0x0010
#    define MEXIF_TAGID_PENTAX1_ExposureTime        0x0012
#    define MEXIF_TAGID_PENTAX1_FNumber             0x0013
#    define MEXIF_TAGID_PENTAX1_ISO                 0x0014
#    define MEXIF_TAGID_PENTAX1_LightReading        0x0015
#    define MEXIF_TAGID_PENTAX1_ExposureCompensation  0x0016
#    define MEXIF_TAGID_PENTAX1_MeteringMode        0x0017
#    define MEXIF_TAGID_PENTAX1_AutoBracketing      0x0018
#    define MEXIF_TAGID_PENTAX1_WhiteBalance        0x0019
#    define MEXIF_TAGID_PENTAX1_WhiteBalanceMode    0x001a
#    define MEXIF_TAGID_PENTAX1_BlueBalance         0x001b
#    define MEXIF_TAGID_PENTAX1_RedBalance          0x001c
#    define MEXIF_TAGID_PENTAX1_FocalLength         0x001d
#    define MEXIF_TAGID_PENTAX1_DigitalZoom         0x001e
#    define MEXIF_TAGID_PENTAX1_Saturation          0x001f
#    define MEXIF_TAGID_PENTAX1_Contrast            0x0020
#    define MEXIF_TAGID_PENTAX1_Sharpness           0x0021
#    define MEXIF_TAGID_PENTAX1_WorldTimeLocation   0x0022
#    define MEXIF_TAGID_PENTAX1_HometownCity        0x0023
#    define MEXIF_TAGID_PENTAX1_DestinationCity     0x0024
#    define MEXIF_TAGID_PENTAX1_HometownDST         0x0025
#    define MEXIF_TAGID_PENTAX1_DestinationDST      0x0026
#    define MEXIF_TAGID_PENTAX1_DSPFirmwareVersion  0x0027
#    define MEXIF_TAGID_PENTAX1_CPUFirmwareVersion  0x0028
#    define MEXIF_TAGID_PENTAX1_FrameNumber         0x0029
#    define MEXIF_TAGID_PENTAX1_EffectiveLV         0x002d
#    define MEXIF_TAGID_PENTAX1_ImageProcessing     0x0032
#    define MEXIF_TAGID_PENTAX1_PictureMode2        0x0033
#    define MEXIF_TAGID_PENTAX1_DriveMode           0x0034
#    define MEXIF_TAGID_PENTAX1_ColorSpace          0x0037
#    define MEXIF_TAGID_PENTAX1_ImageAreaOffset     0x0038
#    define MEXIF_TAGID_PENTAX1_RawImageSize        0x0039
#    define MEXIF_TAGID_PENTAX1_AFPointsInFocus2    0x003c
#    define MEXIF_TAGID_PENTAX1_PreviewImageBorders 0x003e
#    define MEXIF_TAGID_PENTAX1_LensType            0x003f
#    define MEXIF_TAGID_PENTAX1_SensitivityAdjust   0x0040
#    define MEXIF_TAGID_PENTAX1_ImageProcessingCount  0x0041
#    define MEXIF_TAGID_PENTAX1_CameraTemperature   0x0047
#    define MEXIF_TAGID_PENTAX1_AELock              0x0048
#    define MEXIF_TAGID_PENTAX1_NoiseReduction      0x0049
#    define MEXIF_TAGID_PENTAX1_FlashExposureComp   0x004d
#    define MEXIF_TAGID_PENTAX1_ImageTone           0x004f
#    define MEXIF_TAGID_PENTAX1_ColorTemperature    0x0050
#    define MEXIF_TAGID_PENTAX1_ShakeReductionInfo  0x005c
#    define MEXIF_TAGID_PENTAX1_ShutterCount        0x005d
#    define MEXIF_TAGID_PENTAX1_BlackPoint          0x0200
#    define MEXIF_TAGID_PENTAX1_WhitePoint          0x0201
#    define MEXIF_TAGID_PENTAX1_ShotInfo            0x0205
#    define MEXIF_TAGID_PENTAX1_AEInfo              0x0206
#    define MEXIF_TAGID_PENTAX1_LensInfo            0x0207
#    define MEXIF_TAGID_PENTAX1_FlashInfo           0x0208
#    define MEXIF_TAGID_PENTAX1_AEMeteringSegments  0x0209
#    define MEXIF_TAGID_PENTAX1_FlashADump          0x020a
#    define MEXIF_TAGID_PENTAX1_FlashBDump          0x020b
#    define MEXIF_TAGID_PENTAX1_WB_RGGBLevelsDaylight  0x020d
#    define MEXIF_TAGID_PENTAX1_WB_RGGBLevelsShade  0x020e
#    define MEXIF_TAGID_PENTAX1_WB_RGGBLevelsCloudy 0x020f
#    define MEXIF_TAGID_PENTAX1_WB_RGGBLevelsTungsten  0x0210
#    define MEXIF_TAGID_PENTAX1_WB_RGGBLevelsFluorescentD  0x0211
#    define MEXIF_TAGID_PENTAX1_WB_RGGBLevelsFluorescentN  0x0212
#    define MEXIF_TAGID_PENTAX1_WB_RGGBLevelsFluorescentW  0x0213
#    define MEXIF_TAGID_PENTAX1_WB_RGGBLevelsFlash  0x0214
#    define MEXIF_TAGID_PENTAX1_CameraInfo          0x0215
#    define MEXIF_TAGID_PENTAX1_BatteryInfo         0x0216
#    define MEXIF_TAGID_PENTAX1_AFInfo              0x021f
#    define MEXIF_TAGID_PENTAX1_ColorInfo           0x0222
#    define MEXIF_TAGID_PENTAX1_DataDump            0x03fe
#    define MEXIF_TAGID_PENTAX1_UnknownInfo         0x03ff
#    define MEXIF_TAGID_PENTAX1_ToneCurve           0x0402
#    define MEXIF_TAGID_PENTAX1_ToneCurves          0x0403
#    define MEXIF_TAGID_PENTAX1_PrintIM             0x0e00
#    define _MEXIF_TAGID_PENTAX1_Count              86

#    define MEXIF_TAGID_PENTAX1_ShakeReductionInfo_SRResult  0x0000
#    define MEXIF_TAGID_PENTAX1_ShakeReductionInfo_ShakeReduction  0x0001
#    define MEXIF_TAGID_PENTAX1_ShakeReductionInfo_SRHalfPressTime  0x0002
#    define MEXIF_TAGID_PENTAX1_ShakeReductionInfo_SRFocalLength  0x0003
#    define _MEXIF_TAGID_PENTAX1_ShakeReductionInfo_Count  4

#    define MEXIF_TAGID_PENTAX1_ShotInfo_PictureMode2  0x0000
#    define MEXIF_TAGID_PENTAX1_ShotInfo_ISOFloor   0x0006
#    define MEXIF_TAGID_PENTAX1_ShotInfo_DriveMode2 0x0007
#    define MEXIF_TAGID_PENTAX1_ShotInfo_ExposureBracketStepSize  0x0008
#    define MEXIF_TAGID_PENTAX1_ShotInfo_BracketShotNumber  0x0009
#    define MEXIF_TAGID_PENTAX1_ShotInfo_RawAndJpgRecording  0x000d
#    define MEXIF_TAGID_PENTAX1_ShotInfo_JpgRecordedPixels  0x000e
#    define MEXIF_TAGID_PENTAX1_ShotInfo_SvISOSetting  0x0014
#    define MEXIF_TAGID_PENTAX1_ShotInfo_BaseExposureCompensation  0x0015
#    define _MEXIF_TAGID_PENTAX1_ShotInfo_Count     9



extern mexif_tagdb_t mexif_PENTAX1_db[_MEXIF_TAGID_PENTAX1_Count+1];
const mexif_tagdb_t* MEXIF_API mexif_PENTAX1_search( unsigned int tagid );
extern mexif_tagdb_t mexif_PENTAX1_ShakeReductionInfo_db[_MEXIF_TAGID_PENTAX1_ShakeReductionInfo_Count+1];
const mexif_tagdb_t* MEXIF_API mexif_PENTAX1_ShakeReductionInfo_search( unsigned int tagid );
extern mexif_tagdb_t mexif_PENTAX1_ShotInfo_db[_MEXIF_TAGID_PENTAX1_ShotInfo_Count+1];
const mexif_tagdb_t* MEXIF_API mexif_PENTAX1_ShotInfo_search( unsigned int tagid );


